package router

import (
	services "learn/services"

	"github.com/gin-gonic/gin"
)

// Swagger 配置

func userRouter(router *gin.Engine) *gin.RouterGroup {
	r1 := router.Group("/user")
	{
		r1.GET("/getUsersList", services.GetUsersList)

		r1.POST("/addUser", services.AddUserInfo)
	}
	return r1
}
